package cn.elves.model.activity.mapper;

import cn.elves.model.activity.entity.po.Activity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author pc
* @description 针对表【activity】的数据库操作Mapper
* @createDate 2024-06-16 12:48:17
* @Entity cn.elves.model.po.Activity
*/
public interface ActivityMapper extends BaseMapper<Activity> {

    Activity selectEffectiveActivity(@Param("activityId") Long activityId);

    Boolean decreaseStockCount(@Param("activityId")Long id);
}




